package com.example.backend.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
public class Restaurant {
    private String restaurantid;
    private String addressareaid;
    private String restauranttypename;
    private String restaurantname;
    private String password;
    private String image;
    private String phone;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime createtime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime updatetime;
    private String introduction;
    private String addressdetail;
    private Integer surplus;
    private Integer state;
    private String qualification;
    private Integer point;
    private Integer sales;
    private List<com.example.backend.pojo.Data> date;
}

